package com.practice.library.Model;


import lombok.Data;
import lombok.extern.apachecommons.CommonsLog;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
@Component
@Data
public class BookInfo {
    //图书ID
    private Integer bookId;
    //书名
    private String bookName;
    //图书作者
    private String author;
    //图书数量
    private Integer num;
    //图书价格
    private BigDecimal price;
    //图书出版社
    private String publishName;
    //图书状态
    private Integer state; // 1 为可借阅 2 不可借阅

    private String stateCN; // 1 为可借阅 2 不可借阅





}
